package base;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Vector;

/**
 * @Description: java基础点 练习
 * @Author: hmm
 * @CreateDate: 2019/8/28
 * @UpdateUser:
 * @UpdateDate: 2019/8/28
 * @UpdateRemark: 修改备注
 * @Version: 1.0
 */
public class Test {

    private static int b = go();

    private static int go() {
        System.out.println("静态成员变量调用");
        return 0;
    }

    private int a = 9;
    private String s = "agafag";

    public Test() {
        System.out.println("无参构造");
    }

    static {
        System.out.println("静态代码块");
    }

    public static void main(String[] args) {
        String a = "aa";
        char[] chars = a.toCharArray();
        System.out.println(chars);
        int i = a.hashCode();
        Object o = new Object();
        int oi = o.hashCode();
        System.out.println(i);
        System.out.println(oi);
    }
}
